#pragma once

#include "poke_framework.h"
#include "poke_dialog_helper.h"
#include "ui/poke_dwm_op_menu.h"
#include "ui/poke_hotkey_list_ctrl.h"
#include "afxcmn.h"
#include "afxwin.h"
#include "ui\ui_base\menu_button.h"

// CPokeDlgDwmInfo dialog

class CPokeDlgDwmInfo : public CDialog, public M::Atom
{
	DECLARE_DYNAMIC(CPokeDlgDwmInfo)

public:
	CPokeDlgDwmInfo(CWnd* pParent = NULL);   // standard constructor
	virtual ~CPokeDlgDwmInfo();

// Dialog Data
	enum { IDD = IDD_DIALOG_DWM_INFO };

protected:
    DISABLE_DIALOG_DEFAULT_ACTION;
    virtual BOOL OnInitDialog();
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

    virtual M::String name() const { return PAN_DLG_DWM_INFO; }
    virtual bool OnEvent(const M::AtomEndPoint &oSrcAtom, int nEventId, void *pParams);

	DECLARE_MESSAGE_MAP()

public:
    afx_msg void OnBnClickedButtonDwmExtendFrame();

private:
    CListCtrl m_oListDwmAttributes;
    CString m_strIsDwmEnabled;
    CPokeDwmOpMenu m_oBtnNCRenderPolicy;
    CPokeDwmOpMenu m_oBtnTransitionDisabled;
    CPokeDwmOpMenu m_oBtnAllowNCPaint;
    CPokeDwmOpMenu m_oBtnNCRtlLayout;
    CPokeDwmOpMenu m_oBtnForceIconicRpst;
    CPokeDwmOpMenu m_oBtnFlip3DPolicy;
    CPokeDwmOpMenu m_oBtnHasIconicBitmap;
    CPokeDwmOpMenu m_oBtnDisallowPeek;
    CPokeDwmOpMenu m_oBtnExcluedFromPeek;
    int m_nLeft;
    int m_nTop;
    int m_nRight;
    int m_nBottom;
};
